package com.atmaowei.service;

import com.atmaowei.controller.request.BaseRequest;
import com.atmaowei.entity.Department;
import com.atmaowei.entity.Student;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface StudentService {

    void save(Student student);

    PageInfo<Student> page(BaseRequest baseRequest);

    void delete(String sno);

    void update(Student student,String oldSno);

    Student getBySno(String sno);

    List<Department> getAllDept();

    void deleteSelected(List<Student> students);

    void statusChange(String sno);
}
